//
//  JobCerticationViewCell.h
//  MyProject
//
//  Created by 石小强 on 2018/5/7.
//  Copyright © 2018年 yanjiaming. All rights reserved.
//

#import <UIKit/UIKit.h>

@class JobCerticationViewCell;

typedef void(^ImageBtnClickBlock) (NSInteger index, JobCerticationViewCell *cell);
typedef void(^ReselectBtnClickBlock) (NSInteger index, JobCerticationViewCell *cell);
typedef void(^DeleteBtnClickBlock) (NSInteger index, JobCerticationViewCell *cell);

@interface JobCerticationViewCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIView *centerView;
@property (weak, nonatomic) IBOutlet UILabel *centerViewTitleL;
@property (weak, nonatomic) IBOutlet UIButton *certerViewImageB;
@property (weak, nonatomic) IBOutlet UIImageView *centerViewImageView;
@property (weak, nonatomic) IBOutlet UIButton *centerViewDeleteBtn;

@property (weak, nonatomic) IBOutlet UILabel *centerViewBottomOneL;
@property (weak, nonatomic) IBOutlet UILabel *centerViewBottomTwoL;
@property (weak, nonatomic) IBOutlet UILabel *centerViewBottomThreeL;

@property (weak, nonatomic) IBOutlet UIImageView *selectedImageView;
@property (weak, nonatomic) IBOutlet UILabel *selectedIndicatorL;

@property (weak, nonatomic) IBOutlet UIButton *reselectBtn;

@property (weak, nonatomic) IBOutlet UIPageControl *pageControl;

@property (nonatomic, assign) NSInteger pageIndex;

@property (nonatomic, copy) NSString *work_card_key;
@property (nonatomic, copy) NSString *company_email_key;
@property (nonatomic, copy) NSString *labor_contract_key;
@property (nonatomic, copy) NSString *incumbency_certification_key;

@property (nonatomic, strong) UIImage *work_card_image;
@property (nonatomic, strong) UIImage *company_email_image;
@property (nonatomic, strong) UIImage *labor_contract_image;
@property (nonatomic, strong) UIImage *incumbency_certification_image;

@property (nonatomic, copy) ImageBtnClickBlock imageBtnBlock;
@property (nonatomic, copy) ReselectBtnClickBlock reselectBtnBlock;
@property (nonatomic, copy) DeleteBtnClickBlock deleteBtnBlock;

- (void)updateImageViewDatasWithIndex:(NSInteger)index andImage:(UIImage *)image;

@end
